<template>
    <div class="order-index">
        <nuxt-child keep-alive></nuxt-child>
    </div>
</template>

<script>
export default {
    created() {
        if(this.$store.state.user && this.$store.state.user.role_id){
            this.roleId = this.$store.state.user.role_id
            if(this.roleId === 2) {
                // 默认跳转页面
                this.$router.replace('/admin/order/pendingDisposal')
            }else if (this.roleId === 3) {
                this.$router.replace('/admin/auditor')
            }
        }
    }
}
</script>

<style lang="less" scoped>

</style>